#pragma once
#include "qmainwindow.h"

#include "ui_qmainwindow.h"
#include "QDoc.h"

class MyWindow :
	public QMainWindow
{
	Q_OBJECT

public:
	MyWindow(void);
	~MyWindow(void);
	void connect(Ui::MainWindow *p, QDoc *pd);

public slots:
	void onOpenFile();
	void on_cal_laplace();
	void on_mul();

protected:
	void keyPressEvent(QKeyEvent* ev);
	void keyReleaseEvent(QKeyEvent *ev);

	Ui::MainWindow *p_ui;
	QDoc* p_doc;
};
